package com.originskyseed.platform.user.model;

import java.math.BigDecimal;
import java.util.Date;

import com.originskyseed.platform.core.base.BaseModel;

/**
 * 玩家消费信息表（OSI_PLAYER_RELATE_CONSUME）
 * 
 * @author wlj
 */
public class PlayerRelateConsume extends BaseModel {

	/**
	 * 玩家id（PLAYER_ID）
	 */
	private String playerId;

	/**
	 * 业务员id（BELONG_BUSINESS_ID）
	 */
	private String belongBusinessId;

	/**
	 * 主播id（ANCHOR_ID）
	 */
	private String anchorId;

	/**
	 * 金额（AMOUNT）
	 */
	private BigDecimal amount;

	/**
	 * 渠道id
	 */
	private String channelId;

	/**
	 * 子渠道id
	 */
	private String channelSubId;

	/**
	 * 订单id
	 */
	private String orderId;

	/**
	 * 消费内容
	 */
	private String orderContent;

	/**
	 * 消费时间（CONSUME_TIME）
	 */
	private Date consumeTime;

	/**
	 * 房间id
	 */
	private String roomId;

	/**
	 * 房间类型（0个人房间 1公会房间）
	 */
	private Integer type;

	/**
	 * 送礼对象名称
	 */
	private String anchorNickname;

	/**
	 * 玩家昵称
	 */
	private String playerNickname;

	/**
	 * 累充是否同步 1是 0否 2 anchor为空
	 */
	private Integer rechargeIsUpdate;

	/**
	 * 家族收益（FAMILY_AMOUNT）
	 */
	private BigDecimal familyAmount;


	/////////////////// 额外字段

	/**
	 * 业务员名称
	 */
	private String belongBusinessName;

	/**
	 * 主播名称
	 */
	private String anchorName;

	/**
	 * 注册时间
	 */
	private Date registerTime;

	/**
	 * 获取玩家id
	 *
	 * @return
	 */
	public String getPlayerId() {
		return this.playerId;
	}

	/**
	 * 设置玩家id
	 *
	 * @param playerId
	 */
	public void setPlayerId(String playerId) {
		this.playerId = playerId;
	}

	/**
	 * 获取业务员id
	 *
	 * @return
	 */
	public String getBelongBusinessId() {
		return this.belongBusinessId;
	}

	/**
	 * 设置业务员id
	 *
	 * @param belongBusinessId
	 */
	public void setBelongBusinessId(String belongBusinessId) {
		this.belongBusinessId = belongBusinessId;
	}

	/**
	 * 获取主播id
	 *
	 * @return
	 */
	public String getAnchorId() {
		return this.anchorId;
	}

	/**
	 * 设置主播id
	 *
	 * @param anchorId
	 */
	public void setAnchorId(String anchorId) {
		this.anchorId = anchorId;
	}

	/**
	 * 获取金额
	 *
	 * @return
	 */
	public BigDecimal getAmount() {
		return this.amount;
	}

	/**
	 * 设置金额
	 *
	 * @param amount
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public String getChannelSubId() {
		return channelSubId;
	}

	public void setChannelSubId(String channelSubId) {
		this.channelSubId = channelSubId;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderContent() {
		return orderContent;
	}

	public void setOrderContent(String orderContent) {
		this.orderContent = orderContent;
	}

	/**
	 * 获取消费时间
	 *
	 * @return
	 */
	public Date getConsumeTime() {
		return this.consumeTime;
	}

	/**
	 * 设置消费时间
	 *
	 * @param consumeTime
	 */
	public void setConsumeTime(Date consumeTime) {
		this.consumeTime = consumeTime;
	}

	public String getRoomId() {
		return roomId;
	}

	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	public String getBelongBusinessName() {
		return belongBusinessName;
	}

	public void setBelongBusinessName(String belongBusinessName) {
		this.belongBusinessName = belongBusinessName;
	}

	public String getAnchorName() {
		return anchorName;
	}

	public void setAnchorName(String anchorName) {
		this.anchorName = anchorName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getAnchorNickname() {
		return anchorNickname;
	}

	public void setAnchorNickname(String anchorNickname) {
		this.anchorNickname = anchorNickname;
	}

	public String getPlayerNickname() {
		return playerNickname;
	}

	public void setPlayerNickname(String playerNickname) {
		this.playerNickname = playerNickname;
	}

	public Integer getRechargeIsUpdate() {
		return rechargeIsUpdate;
	}

	public void setRechargeIsUpdate(Integer rechargeIsUpdate) {
		this.rechargeIsUpdate = rechargeIsUpdate;
	}

	public BigDecimal getFamilyAmount() {
		return familyAmount;
	}

	public void setFamilyAmount(BigDecimal familyAmount) {
		this.familyAmount = familyAmount;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}
}